﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NCLCustomerManagement.BusinessLogic
{
    /// <summary>
    /// Interface for BaseBC is to define the basic method list to interact with DataAccess layer
    /// </summary>
    public interface IBaseBC
    {
        DTO Insert<DTO>(DTO dto) where DTO : class;
        DTO Update<DTO>(DTO dto) where DTO : class;
        DTO Delete<DTO>(DTO dto) where DTO : class;
        DTO GetBy<DTO>(int dtoId) where DTO : class;
        List<DTO> GetAll<DTO>() where DTO : class;
    }
}
